import service from '@/utils/request'

export const useTestbbbApi = (id: number) => {
	return service.get('/testaaa/testbbb/' + id)
}

export const useTestbbbSubmitApi = (dataForm: any) => {
	if (dataForm.id) {
		return service.put('/testaaa/testbbb', dataForm)
	} else {
		return service.post('/testaaa/testbbb', dataForm)
	}
}
